#ifndef VERTEX_H_INCLUDED
#define VERTEX_H_INCLUDED
#include "v3d.h"
#include "SFML/graphics.hpp"

struct vertex
{

    v3d pos;

    v3d normal;

    sf::Color col;

    v3d uvw;



    vertex(void);

    vertex &operator()(v3d &pposition, sf::Color &pcol);

    vertex &operator()(double x, double y, double z, int r, int g, int b);

    vertex &operator()(int x, int y, int z, int r, int g, int b);

    void add_normal(v3d &n);
    void add_uvw(v3d &n);

};


#endif // VERTEX_H_INCLUDED
